class Notifier < ActionMailer::Base
  default from: "from@example.com"

  # Subject can be set in your I18n file at config/locales/en.yml
  # with the following lookup:
  #
  #   en.notifier.gmail_message.subject
  #
  
  def gmail_message(user_)
     @user=user_
     mail(:to => @user.email, :subject => "Password Reset", :body => "Your new passwor #{@user.password}")
  end
end
